package com.kun.peng.system.service.dto;

import com.kun.peng.annotation.Query;
import com.kun.peng.mybatis.base.QueryEntity;
import com.kun.peng.system.domain.Menu;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
 * Created on 2021/11/19.
 *
 * @author xuebaopeng
 * Description
 */
@Data
public class MenuQuery extends QueryEntity<Menu> {

    @Query(blurry = "title,component,permission")
    private String blurry;
    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;

    @Query(type = Query.Type.IS_NULL, propName = "pid")
    private Long pid;
}
